package cn.rdq.iknessplatform.service;

import cn.rdq.api.po.User;
import cn.rdq.api.vo.LoginUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {

    List<User> listUser();

    User tokenUser(String token);

    User loginByUsernameAndPassword(LoginUser loginUser);

    User register(User user);

    User getByUsername(String username);

    User getRegister();

    void updateUser(User user);
}
